<div class="wangshangdiaocha content vote">
<form name="myform" id="myform"  action="{APP_PATH}index.php?m=vote&c=index&a=post&subjectid={$subjectid}" method="post" target="_blank">
    <h6>网上调查</h6>
    <div class="box">
      <p>{$subject}</p>
      <input type="hidden" name="subjectid" value="{$subjectid}">
      {loop $options $r}
{$i++}
{if $vote_data['total']==0 }
{php $per=0;}
{else}
{php $per=intval($vote_data[$r['optionid']]/$vote_data['total']*100);}
{/if}
<p>
<input type={if $ischeckbox=='0'}"radio"{else}"checkbox"{/if} name="radio[]" id="radio" value="{$r['optionid']}" {$check_status}/>
        <label>{$r['option']}</label>
</p>
{/loop}
<div class="btn" style="{$display}"><input type="submit" value="提交" src="{IMG_PATH}HaiShu/an-tp.jpg" ></div>
<!-- <a href="{APP_PATH}index.php?m=vote&c=index&a=result&subjectid={$subjectid}&siteid={$siteid}">[查看结果]</a> -->
      </div>
      </form>
</div>